function write(i){document.write("The number is "+i);document.write("<br />")}for(var i=0,i=0;i<=100;i++)i%2==0&&write(i)